#ifndef ADC_SEW_H
#define ADC_SEW_H

#include "headerconf.h"

/**
*@class ADC
*Class ADC which opens an ADC channel
*/
class ADC
{
	public:
		///Constructor
		ADC(uint8_t ADCchannel, uint8_t ADCsampleTime);
		///setups up alle specific parameters	 for the adc channel
		void ADCConfiguration();
		///the value read from the channel
		uint16_t readValue();
	private:
		///the adc channel
		uint8_t channel;
		///the sample time for the channel
		uint8_t sampleTime;
		

};


#endif

